package com.mdt.doforms.bienen;

import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.view.KeyEvent;

import com.mdt.doforms.bienen.util.HtdLog;

public abstract class BienenActivity extends Activity {

	abstract protected void setTitle( String title );
	
	@Override
	protected void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
	}

	@Override
	public boolean onKeyUp(int keyCode, KeyEvent event) {
	    if (keyCode == KeyEvent.KEYCODE_MENU) {
	    	HtdLog.d("HTDUNG", "onKeyUp - KeyEvent.KEYCODE_MENU");
	    	Intent intent = new Intent(this, DashBoardActivity.class);
			startActivityForResult(intent, 12345);
	        return true;
	    }
	    return super.onKeyUp(keyCode, event);
	}
	
	
}
